]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Don't crash if app is missing categories
authorPhilip Chimento <philip@endlessm.com>
Fri, 25 Oct 2019 22:27:25 +0000 (15:27 -0700)
committerPhilip Chimento <philip@endlessm.com>
Fri, 25 Oct 2019 22:48:52 +0000 (15:48 -0700)
commit0732e1426a6cc0fe50a7fdb84d4b633faba3dbe8
treea3bfaf272776c16b224d131afdee48d26a76ccd8
parent055c007ac26b6475cc2821dbfc2e760ec4f3a9a6
appDisplay: Don't crash if app is missing categories

g_desktop_app_info_get_categories() may return null. In that case, the
previous code would fail to create a folder when dragging an app with
no categories onto another app. Instead, simply continue with the next
app info.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/782
js/ui/appDisplay.js